<!doctype html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<!-- Test passes if it does not crash on an ASAN build. -->
<style>
.tableColumnGroup {
  background: white;
  display: table-column-group;
}
.tableCell {
  display: table-cell;
  border-style: ridge;
  will-change: transform;
}
</style>
<script>
function createAndAppendWithClass(targetType, targetClass) {
  var targetElement = document.createElement(targetType);
  targetElement.setAttribute('class', targetClass);
  document.documentElement.appendChild(targetElement);
  return targetElement;
}
var label = createAndAppendWithClass('label', 'tableCell');
var colgroup = createAndAppendWithClass('colgroup', 'tableCell');
createAndAppendWithClass('aside', 'tableCell');
if (window.testRunner)
  testRunner.waitUntilDone();
runAfterLayoutAndPaint(function() {
  colgroup.setAttribute('class', '');
  label.setAttribute('class', 'tableColumnGroup');
}, true);
</script>
